
import request from '@/utils/request'

/**
 * 获取销售业绩分析-指标
 * @param {*} options 
 */
export function getPerformanceQuota(options){
  
    return request({
      url: '/api/analyze/performancequota',
      method: 'get',
      params: options
    })
}

/**
 * 获取销售业绩分析-金额统计
 * @param {*} options 
 */
 export function getPerformanceMoney(options){
  
    return request({
      url: '/api/analyze/performancemoney',
      method: 'get',
      params: options
    })
}

/**
 * 获取销售业绩分析-其他统计
 * @param {*} options 
 */
 export function getPerformanceOther(options){
  
    return request({
      url: '/api/analyze/performanceother',
      method: 'get',
      params: options
    })
}

/**
 * 获取销售业绩分析-其他统计-战败
 * @param {*} options 
 */
 export function getPerformanceOther_Fail(options){
    return request({
      url: '/api/analyze/performanceother_fail',
      method: 'get',
      params: options
    })
}

/**
 * 获取销售业绩分析-其他统计-战败明细
 * @param {*} options 
 */
 export function getPerformanceOther_FailDetails(options){
    return request({
      url: '/api/analyze/performanceother_detailsfail',
      method: 'get',
      params: options
    })
}

/**
 * 获取销售业绩分析-其他统计-战败
 * @param {*} options 
 */
 export function getPerformanceOther_Pickup(options){
     return request({
       url: '/api/analyze/performanceother_pickup',
       method: 'get',
       params: options
     })
 }
 
 /**
  * 获取销售业绩分析-其他统计-战败明细
  * @param {*} options 
  */
  export function getPerformanceOther_PickupDetails(options){
     return request({
       url: '/api/analyze/performanceother_detailspickup',
       method: 'get',
       params: options
     })
 }

 /**
  * 获取车辆毛利明细
  * @param {*} options 
  */
  export function getCarprofit(options){
    return request({
      url: '/api/analyze/carprofit',
      method: 'get',
      params: options
    })
}









